Yoast\WP\SEO\Integrations\Blocks\Structured_Data_Blocks A

Total Complexity 55
Dependencies 2
Dependents 1
Total lines 413
Lines of code 210
Logical lines of code 108
Comment lines 149
Methods 14
Properties 5

Methods 14

Method Rating Maintainability Complexity Lines of code
optimize_images()
A
41 13 55
add_images_from_attributes_to_used_cache()
A
51 12 25
build_duration_string()
S
53 4 23
transform_duration_to_string()
S
55 4 22
maybe_save_used_caches()
S
66 4 8
present_duration_text()
S
60 3 13
attachment_src_to_id()
S
61 3 13
get_cache_for_post()
S
63 3 11
register_blocks()
S
58 2 17
optimize_faq_images()
S
70 2 6
optimize_how_to_images()
S
68 2 7
__construct()
S
77 1 4
register_hooks()
S
82 1 3
enqueue_block_editor_assets()
S
79 1 3